package ch.mobi.osgi2maven2.osgi;

import com.springsource.util.osgi.VersionRange;

public class RequiredBundle {
	
	private final String symbolicName;
	private final VersionRange versionRange;

	public RequiredBundle(String symbolicName, VersionRange versionRange) {
		this.symbolicName = symbolicName;
		this.versionRange = versionRange;
		
	}
	
	public String getSymbolicName() {
		return symbolicName;
	}
	
	public VersionRange getVersionRange() {
		return versionRange;
	}

	@Override
	public String toString() {
		return "RequiredBundle [symbolicName=" + symbolicName + ", versionRange=" + versionRange + "]";
	}
	
}
